#include <iostream>
#include <vector>
vector <int> v;
using namespace  std;


int main (int argc, char **argv ) 
{
  vector<int> v;

   while (1) {cout<<"v["<<v.size()<<"]=";
   int i;
   cin>>i;
   if (0==i)break;
    v.push_back(i); }
 
return 0;
    }

